<script setup>
import { ref } from 'vue';


let content = ref("")


</script>

<template>
    <div>
        <h2 id="displayText">{{ content }}</h2>
        <!-- 表单数据绑定：输入框 -->
        <input type="text" id="textInput" placeholder="请输入任意文本..." v-model="content">
    </div>

</template>

<style scoped></style>